#ifndef USERLISTXML_H
#define USERLISTXML_H

#include <QObject>
#include "BaseXml.h"
#include "DataType/UserStruct.h"

class UserListXml : public BaseXml<UserListXml>
{
public:

    friend class BaseXml<UserListXml>;

    QList<UserStruct> userList() const;

    bool parser();
    bool modify(const QList<UserStruct> &userList);
    bool clear();

private:
    UserListXml();
    QList<UserStruct> m_userList;

};

#endif // USERLISTXML_H
